package cc.comac.mom.api;

import java.util.List;

import cc.comac.mom.bean.EquipPersonnelQualificationManagementOtherInterferBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipPersonnelQualificationManagement;
import cc.comac.mom.bean.EquipPersonnelQualificationManagementBean;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipPersonnelQualificationManagementService {
	
	@RequestMapping(value = "/p/cs/EquipPersonnelQualificationManagementService/insertEquipPersonnelQualificationManagement",method = RequestMethod.POST)
	public ResultBean insertEquipPersonnelQualificationManagement (@RequestBody EquipPersonnelQualificationManagement equipPersonnelQualificationManagement);

	@RequestMapping(value = "/p/cs/EquipPersonnelQualificationManagementService/updateEquipPersonnelQualificationManagement",method = RequestMethod.POST)
	public ResultBean updateEquipPersonnelQualificationManagement (@RequestBody EquipPersonnelQualificationManagement equipPersonnelQualificationManagement);
	
	@RequestMapping(value = "/p/cs/EquipPersonnelQualificationManagementService/batchDelete",method = RequestMethod.POST)
	public ResultBean batchDelete (@RequestBody List<EquipPersonnelQualificationManagement> list);
	
	@RequestMapping(value = "/p/cs/EquipPersonnelQualificationManagementService/selectbySomeFields",method = RequestMethod.POST)
	public ResultBean selectbySomeFields (@RequestBody EquipPersonnelQualificationManagementBean equipPersonnelQualificationManagementBean);

	@RequestMapping(value = "/EquipPersonnelQualificationManagementService/batchsave",method = RequestMethod.POST)
	public ResultBean batchsave (@RequestBody List<EquipPersonnelQualificationManagementOtherInterferBean> personnel);
	}
